﻿Imports BusinessRule.DTO

'Description:关键过程控制文档管理接口
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:tianFW
'create Date:2017/10/11
'Rewriter:
'Rewrite Date:
Public Interface uLMSKeyProcessControlDocIBusiness

    ''' <summary>
    ''' 添加关键过程控制文档信息
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function AddKeyProcessControlDocInfo(ByVal dto As KeyProcessControlDocDTO) As Boolean

    ''' <summary>
    ''' 根据关键控制唯一ID删除关键控制信息
    ''' </summary>
    ''' <param name="KeyProcessControlDocID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function DelKepprocessControlDoc(ByVal KeyProcessControlDocID As String) As Boolean

    ''' <summary>
    ''' 查询关键过程控制文档记录
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SearchData(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 修改关键过程控制文档
    ''' </summary>
    ''' <param name="dto"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function ChangeKeyProcessControlDoc(ByVal dto As KeyProcessControlDocDTO) As Boolean

    ''' <summary>
    ''' 获取并返回关键过程文档关联的工序记录条数 
    ''' </summary>
    ''' <param name="KeyProcessControlDocID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetKeyProcessControlIsGNWorkflowStep(ByVal KeyProcessControlDocID As String) As Boolean
End Interface
